﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user_info.aspx.cs" Inherits="EDP.Application.Web.User.user_info" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <style type="text/css">
        .x-column-header {
            text-align: center;
        }
    </style>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager" AutoSizePanelID="main" runat="server" />
        <f:HiddenField ID="hide_userId" runat="server" BindName="ID" />
        <f:Panel ID="main" Margin="0" BodyPadding="0" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
            <Items>
                <f:Panel ID="panel" Margin="0" BodyPadding="0" runat="server" ShowBorder="false" ShowHeader="false" Width="320" RegionPosition="Left" Layout="Region">
                    <Items>
                        <f:SimpleForm ID="form" runat="server" ShowBorder="false" ShowHeader="false" BodyPadding="10" Margin="0" LabelAlign="Right" LabelWidth="50" RegionPosition="Top" Layout="Column">
                            <Items>
                                <f:TextBox ID="TextBox1" runat="server" Label="账号" BindName="Account" Margin="0" ColumnWidth="100%" Readonly="true" />
                                <f:TextBox ID="TextBox2" runat="server" Label="姓名" BindName="Name" Margin="10 0 0 0" ColumnWidth="100%" Readonly="true" />
                                <f:TextBox ID="TextBox3" runat="server" Label="性别" BindName="GenderName" Margin="10 0 0 0" ColumnWidth="100%" Readonly="true" />
                                <f:TextBox ID="TextBox4" runat="server" Label="手机号" BindName="Mobile" Margin="10 0 0 0" ColumnWidth="100%" Readonly="true" />
                                <f:TextBox ID="TextBox5" runat="server" Label="邮箱" BindName="Email" Margin="10 0 0 0" ColumnWidth="100%" Readonly="true" />
                            </Items>
                        </f:SimpleForm>
                        <f:Grid ID="grid_role" runat="server" Margin="0 10 10 10" DataKeyNames="ID" RegionPosition="Center" AllowPaging="false" EnableCheckBoxSelect="false">
                            <Toolbars>
                                <f:Toolbar runat="server" ToolbarAlign="Left">
                                    <Items>
                                        <f:Label ID="lb_role" runat="server" Text="所属角色" CssStyle="color:#666" />
                                    </Items>
                                </f:Toolbar>
                            </Toolbars>
                            <Columns>
                                <f:BoundField DataField="RoleNumbers" Width="100" HeaderText="角色编号" />
                                <f:BoundField DataField="RoleName" DataToolTipField="Name" ExpandUnusedSpace="true" HeaderText="角色名称" />
                            </Columns>
                        </f:Grid>
                    </Items>
                </f:Panel>

                <f:Grid ID="grid_position" runat="server" Margin="10 10 10 0" DataKeyNames="RoleId" RegionPosition="Center" AllowPaging="false" EnableCheckBoxSelect="false">
                    <Toolbars>
                        <f:Toolbar runat="server" ToolbarAlign="Right">
                            <Items>
                                <f:Label ID="lb_position" runat="server" Text="任职信息" CssStyle="color:#666" />
                                <f:ToolbarFill runat="server" />
                                <f:Button ID="btn_changePassword" runat="server" Text="修改密码" Icon="VcardKey" Margin="0 10 0 0" />
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                    <Columns>
                        <f:BoundField DataField="OrganizationName" DataToolTipField="OrganizationName" ExpandUnusedSpace="true" HeaderText="机构" />
                        <f:BoundField DataField="DepartmentNumbers" DataToolTipField="DepartmentNumbers" Width="120" HeaderText="部门编号" />
                        <f:BoundField DataField="DepartmentName" DataToolTipField="DepartmentName" ExpandUnusedSpace="true" HeaderText="部门" />
                        <f:BoundField DataField="PositionTitle" DataToolTipField="PositionTitle" Width="120" HeaderText="职位" />
                        <f:BoundField DataField="PositionGradeName" SortField="PositionGradeLevels" Width="65" HeaderText="职级" />
                        <f:CheckBoxField DataField="IsMain" HeaderText="主职" Width="65" TextAlign="center" />
                    </Columns>
                </f:Grid>
            </Items>
        </f:Panel>
        <f:Window ID="win_from" runat="server" Title="修改密码" EnableIFrame="false" Layout="Column" BodyPadding="10" Width="300" Height="200">
            <Items>
                <f:TextBox ID="tb1" runat="server" Label="旧密码" LabelWidth="60" TextMode="Password" ColumnWidth="100%" />
                <f:TextBox ID="tb2" runat="server" Label="新密码" LabelWidth="60" Margin="10 0 0 0" TextMode="Password" ColumnWidth="100%" />
                <f:TextBox ID="tb3" runat="server" Label="确认密码" LabelWidth="60" Margin="10 0 0 0" TextMode="Password" ColumnWidth="100%" />
            </Items>
            <Toolbars>
                <f:Toolbar runat="server" Position="Bottom" ToolbarAlign="Right">
                    <Items>
                        <f:Button ID="btn_save" runat="server" Text=" 保 存 " Icon="Disk" Margin="0 20 0 0" OnClick="btn_save_Click" />
                        <f:Button ID="btn_close" runat="server" Text=" 关 闭 " Icon="Cross" Margin="0 10 0 0" />
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Window>
    </form>
</body>
</html>
